Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies Update, New Tray Behavior, and some random improvements :) #278

Merged
merged 33 commits into from
Oct 9, 2023

Conversation

bagusnl
Copy link
Member

@bagusnl bagusnl commented Sep 29, 2023

Build-Canary
In this PR:

  • [IMP] Added MSBuild optimization for those using CoW based FS for their Git repository (eg. ReFS)
  • [NEW] Add Git short SHA where the build is compiled on console
  • [IMP] Update CommandLine to beta4 (bugfixes, NativeAOT Compile and ILTrim), include all adjustments necessary
  • [VULN] Update HTTP and Regex NuGet (CVE-2019-0820)
  • [NEW] New TrayIcon using H.NotifyIcon
  • [NEW] Add new start argument to start Collapse on system tray

TODO (ON NEXT PR):

Template:
[FIX]
[IMP]
[VUL]
[NEW]

Use transitive copy for MSBuild to speed up build when using CoW file system like ReFS
This update brings some fixes but more importantly trimmable CommandLine NuGet package, including nativeAOT compilation. Though due to the removal of SetHandler, it has major changes in the code.

needs extensive review @neon-nyan
- Fix unexpected early end bracket
- Cleanup unnecessary string statements
- Fix some arguments migrations misses
Due to high severity vulnerability that those have, update is necessary

.Net.Http (4.3.0 -> 4.3.4)
GHSA-7jgj-8wvc-jh57

.Text.RegularExpression
https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2019-0820
@bagusnl bagusnl added Enhancement New feature or request Fixed Issue has been fixed Area: Runtime Issue labeled for runtime, Hi3Helper.Core and other libraries used by Collapse Area: Launcher Issue labeled for Launcher update mechanism Area: UI/UX Issue labeled for User Interface/eXperience related issue labels Sep 29, 2023
@bagusnl bagusnl self-assigned this Sep 29, 2023
@bagusnl bagusnl marked this pull request as draft September 29, 2023 19:41
- Add console hiding method (thanks @muscularcandy67)
- Initialize locales
- Add function to show Collapse windows to foreground
- Add double click function to toggle both visibility
- Handle toggle string with StartonTray AppMode
Co-authored-by: Iskandar Montano <[email protected]>
@bagusnl bagusnl marked this pull request as ready for review October 7, 2023 17:22
- Delete unused CsWinRT
- Include packages to TrimmableAssembly
- Add documentations
- Remove unused lastConsoleStatus
- Adjust locales statics
- Regionalize
Copy link
Member

@neon-nyan neon-nyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested! LGTM

Copy link
Collaborator

@Cryotechnic Cryotechnic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, have some commits OTW which will fix some of the issues discussed internally

CollapseLauncher/App.xaml.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@muscularcandy67 muscularcandy67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too!

@Cryotechnic Cryotechnic merged commit c89f687 into main Oct 9, 2023
@bagusnl bagusnl deleted the bagel-improvements branch December 3, 2023 14:56
@neon-nyan neon-nyan added this to the v1.72.x milestone Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Launcher Issue labeled for Launcher update mechanism Area: Runtime Issue labeled for runtime, Hi3Helper.Core and other libraries used by Collapse Area: UI/UX Issue labeled for User Interface/eXperience related issue Enhancement New feature or request Fixed Issue has been fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants